package DtoRobot

import (
	"github.com/e421083458/gin_scaffold/public"
	"github.com/gin-gonic/gin"
)

//查询字段输入
type GetInput struct {
	Text string `form:"text" json:"text" comment:"查询内容"  validate:"required" example:""`
}

//身份认证输入
type AuthInput struct {
	Qq string `form:"qq" json:"qq" comment:"qq"  validate:"required" example:""`
	Robot string `form:"robot" json:"robot" comment:"机器人号码"  validate:"required" example:""`
	Hwnd string `form:"hwnd" json:"hwnd" comment:"窗口信息"  validate:"required" example:""`
}

//身份认证输入 字段验证
func (params *AuthInput) BindingValidParams(this * gin.Context) error{
	return public.DefaultGetValidParams(this,params)
}